package cn.xqj.system.service.impl;

import cn.xqj.basic.service.impl.BaseServiceImpl;
import cn.xqj.system.domain.DictionaryDetail;
import cn.xqj.system.mapper.DictionaryDetailMapper;
import cn.xqj.system.service.IDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



@Service
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements IDictionaryDetailService {

    @Autowired
    private DictionaryDetailMapper dictionaryDetailMapper;



    @Override
    @Transactional
    public void add(DictionaryDetail dictionaryDetail) {
        dictionaryDetailMapper.add(dictionaryDetail);
    }



    @Override
    @Transactional
    public void update(DictionaryDetail dictionaryDetail) {
        dictionaryDetailMapper.update(dictionaryDetail);

    }




}
